package com.ruoyi.yzd.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 易制毒-法人对象 yzd_corporation
 * 
 * @author zyb
 * @date 2023-07-04
 */
public class YzdCorporation extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 身份证号 */
    private String corporationId;

    /** 姓名 */
    @Excel(name = "姓名")
    private String corporationName;

    /** 性别（0男 1女 2未知） */
    @Excel(name = "性别", readConverterExp = "0=男,1=女,2=未知")
    private String corporationSex;

    /** 证件类型（0身份证 1护照） */
    @Excel(name = "证件类型", readConverterExp = "0=身份证,1=护照")
    private String corporationType;

    /** 民族 */
    @Excel(name = "民族")
    private String corporationNation;

    /** 出生日期/yyyy-mm-dd */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "出生日期/yyyy-mm-dd", width = 30, dateFormat = "yyyy-MM-dd")
    private Date corporationBirthday;

    /** 证件有效期 */
    @Excel(name = "证件有效期")
    private String corporationExpiration;

    /** 发证机关 */
    @Excel(name = "发证机关")
    private String licenceUnit;

    /** 手机号 */
    @Excel(name = "手机号")
    private String phoneNo;

    /** 关联身份证双面 */
    @Excel(name = "关联身份证双面")
    private String corporationImageId;

    public void setCorporationId(String corporationId) 
    {
        this.corporationId = corporationId;
    }

    public String getCorporationId() 
    {
        return corporationId;
    }
    public void setCorporationName(String corporationName) 
    {
        this.corporationName = corporationName;
    }

    public String getCorporationName() 
    {
        return corporationName;
    }
    public void setCorporationSex(String corporationSex) 
    {
        this.corporationSex = corporationSex;
    }

    public String getCorporationSex() 
    {
        return corporationSex;
    }
    public void setCorporationType(String corporationType) 
    {
        this.corporationType = corporationType;
    }

    public String getCorporationType() 
    {
        return corporationType;
    }
    public void setCorporationNation(String corporationNation) 
    {
        this.corporationNation = corporationNation;
    }

    public String getCorporationNation() 
    {
        return corporationNation;
    }
    public void setCorporationBirthday(Date corporationBirthday) 
    {
        this.corporationBirthday = corporationBirthday;
    }

    public Date getCorporationBirthday() 
    {
        return corporationBirthday;
    }
    public void setCorporationExpiration(String corporationExpiration) 
    {
        this.corporationExpiration = corporationExpiration;
    }

    public String getCorporationExpiration() 
    {
        return corporationExpiration;
    }
    public void setLicenceUnit(String licenceUnit) 
    {
        this.licenceUnit = licenceUnit;
    }

    public String getLicenceUnit() 
    {
        return licenceUnit;
    }
    public void setPhoneNo(String phoneNo) 
    {
        this.phoneNo = phoneNo;
    }

    public String getPhoneNo() 
    {
        return phoneNo;
    }
    public void setCorporationImageId(String corporationImageId) 
    {
        this.corporationImageId = corporationImageId;
    }

    public String getCorporationImageId() 
    {
        return corporationImageId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("corporationId", getCorporationId())
            .append("corporationName", getCorporationName())
            .append("corporationSex", getCorporationSex())
            .append("corporationType", getCorporationType())
            .append("corporationNation", getCorporationNation())
            .append("corporationBirthday", getCorporationBirthday())
            .append("corporationExpiration", getCorporationExpiration())
            .append("licenceUnit", getLicenceUnit())
            .append("phoneNo", getPhoneNo())
            .append("corporationImageId", getCorporationImageId())
            .toString();
    }
}
